import React, { } from 'react'
import { Row, Col, Carousel } from 'antd'
import './index.less'
const MoreComponents = (props) => {
    const { data = {}, children } = props
    const { showMore, title, titleFlag } = data
    if (titleFlag) {
        return <div className='MoreComponents_box'>
            <div className='design-preview-item-title'>
                <div className='MoreComponents_title'>{title}</div>
                {showMore && <div className='text-group'>查看更多{'>'}</div>}
            </div>

        </div>
    }
    return null
}
export default MoreComponents